package com.example.service.imp;

import com.example.dao.Refundlogdao;
import com.example.pojo.Refundlog;
import com.example.pojo.Statistics;
import com.example.service.Refundlogservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Refunlogserviceimp implements Refundlogservice {
    @Autowired
    private Refundlogdao refundlogdao;
    @Override
    public int Insertdataintorefundtable(Refundlog refundlog) {
        return refundlogdao.Insertdataintorefundtable(refundlog);
    }

    @Override
    public Statistics Statisticsrefund(Integer payLogid) {
        return refundlogdao.Statisticsrefund(payLogid);
    }
}
